/*
 * Copyright (c) 2000-2015 Tacke Consulting, Inc
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 
 * documentation files (the "Software"), to deal in the Software without restriction, including without limitation 
 * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, 
 * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in all copies or substantial portions 
 * of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 
 * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 
 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
 * DEALINGS IN THE SOFTWARE.
 * 
 */
using System;

namespace OpenNETCF.Win32
{
	/// <summary>
	/// Flags used with SetWindowPos.
	/// </summary>
	[Flags()]
	internal enum SWP : int
	{
        /// <summary>
        /// Retains current size (ignores the cx and cy members). 
        /// </summary>
		NOSIZE          = 0x0001,
        /// <summary>
        /// Retains current position (ignores the x and y members). 
        /// </summary>
		NOMOVE          = 0x0002,
        /// <summary>
        /// Retains current ordering (ignores the hwndInsertAfter member).
        /// </summary>
		NOZORDER        = 0x0004,
        /// <summary>
        /// Does not redraw changes.
        /// </summary>
		NOREDRAW        = 0x0008,
        /// <summary>
        /// Does not activate the window.
        /// </summary>
		NOACTIVATE      = 0x0010,
        /// <summary>
        /// Sends a WM_NCCALCSIZE message to the window, even if the window's size is not being changed. If this flag is not specified, WM_NCCALCSIZE is sent only when the window's size is being changed.
        /// </summary>
		FRAMECHANGED    = 0x0020,
        /// <summary>
        /// Displays the window.
        /// </summary>
		SHOWWINDOW      = 0x0040,
        /// <summary>
        /// Hides the window.
        /// </summary>
		HIDEWINDOW      = 0x0080,
        /// <summary>
        /// Discards the entire contents of the client area. If this flag is not specified, the valid contents of the client area are saved and copied back into the client area after the window is sized or repositioned.
        /// </summary>
		NOCOPYBITS      = 0x0100,
        /// <summary>
        /// Does not change the owner window's position in the Z-order.
        /// </summary>
		NOOWNERZORDER   = 0x0200,
        /// <summary>
        /// Prevents the window from receiving the WM_WINDOWPOSCHANGING message.
        /// </summary>
		NOSENDCHANGING  = 0x0400,
        /// <summary>
        /// Draws a frame (defined in the class description for the window) around the window. The window receives a WM_NCCALCSIZE message
        /// </summary>
		DRAWFRAME       = FRAMECHANGED,
        /// <summary>
        /// Same as SWP_NOOWNERZORDER
        /// </summary>
		NOREPOSITION    = NOOWNERZORDER,
        /// <summary>
        /// 
        /// </summary>
		DEFERERASE      = 0x2000,
        /// <summary>
        /// 
        /// </summary>
		ASYNCWINDOWPOS  = 0x4000
	}
}
